package com.taobao.ucenter.feignclient;

import com.taobao.base.model.RestResponse;
import com.taobao.ucenter.model.dto.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(value = "me-api", fallbackFactory = CheckCodeClientFactory.class)
public interface MeClient {

    @PostMapping("/me/insertUser")
    RestResponse<String> insertUser(@RequestBody Users users);

}
